import { RouteConfig } from 'react-router-config';


import Login from "../modules/login/Login"
import Layout from "../modules/layout/index"


import { lazy } from "react";
const routes = [
    {
        path: "/",
        component: lazy(() => import("../modules/login/Login")),
        exact:true, // 强匹配
        layout: false,
    },

    {
        path: "/layout",
        component: Layout,
        redirect: "/layout",
        exact: true,

        children: [

        ]
    },
];

export default routes;